var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function (req, res, next) {
	Db.Config.findOne({}, function(err, config) {
		if (err) {
			throw err;
		}
		res.render('system/order', {
			menus : req.menus,
			title : '订单检索',
			config : config,
            BASE_CONFIG : BASE_CONFIG
		});
	});
});

module.exports = router;
